﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace synoexec.synologylib.DataType
{
    public class LogCenterLogItem
    {
        [JsonProperty("fac")]
        public string Fac { get; set; }

        [JsonProperty("host")]
        public string Host { get; set; }

        [JsonProperty("id")]
        public string Id { get; set; }

        [JsonProperty("ldate")]
        public DateTime Date { get; set; }

        [JsonProperty("llevel")]
        public string Level { get; set; }

        [JsonProperty("ltime")]
        public DateTimeOffset Time { get; set; }

        [JsonProperty("msg")]
        public string Msg { get; set; }

        [JsonProperty("orgiProg")]
        public string OrgProgram { get; set; }

        [JsonProperty("prio")]
        public string prio { get; set; }

        [JsonProperty("prog")]
        public string Program { get; set; }

        [JsonProperty("tzoffset")]
        public string Zone { get; set; }

        [JsonProperty("utcsec")]
        public long UtcSecond { get; set; }
    }
}
